*{
  padding: 0;
  margin: 0;
}
li{
  list-style: none;
}
html,body{
  width: 100%;
  height: 100%;
  overflow: hidden;
}
h3{
  position: absolute;
  width: 200px;
  height: 80px;
  background: rgba(0,0,0,.5);
  border-radius: 20px;
  top:50%;
  left: 50%;
  margin-top: -40px;
  margin-left: -100px;
  text-align: center;
  line-height: 80px;
}
#container,.sections,.section{
  height: 100%;
  position: relative;
}

.left{
  float: left;
  width: 25%;
}
#section1,#section2,#section3,#section4{
  width: 100%;
  height: 100%;
  background-color: brown;
  background-size: cover;
  background-position: 50% 50%;
  text-align: center;
  color: #fff;
}
#section1{
  background-image: url(img/1.jpg);
}
#section2{
  background-image: url(img/2.jpg);
}
#section3{
  background-image: url(img/3.jpg);
}
#section4{
  background-image: url(img/4.jpg);
}
.pages{
  position: fixed;
  z-index:100;
}
.pages.horizontal{
  bottom:60px;
  left: 50%;
  height: 18px;
  width: auto;
}
.pages.vertical{
  width: 18px;
  top:50%;
  right:60px;
}
.pages li{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  margin: 10px 4px;
}
.pages.horizontal li{
  display: inline-block;
  vertical-align: middle;
  margin: 10px 5px;
}

.pages li.active{
  width: 14px;
  height: 14px;
  border:2px solid #fffe00;
  background: none;
}

.pages.vertical li.active{
 margin-left: 0;
}
